import request from '@/utils/request'
// 1.获取一定日期范围之内的合作商分成汇总数据--表格数据
export const partnerCollectList = (params) => {
  return request({
    url: '/order-service/report/partnerCollect',
    params
  })
}
// 2.笔数统计
export const orderCount = (params) => {
  return request({
    url: '/order-service/report/orderCount',
    params
  })
}
// 3.收入统计
export const orderAmount = (params) => {
  return request({
    url: '/order-service/report/orderAmount',
    params
  })
}
// 4.分成统计
export const totalBill = (params) => {
  return request({
    url: '/order-service/report/totalBill',
    params
  })
}
// 5. 合作商下拉数据
export const partnerList = (params) => {
  return request({
    url: '/user-service/partner/search',
    params
  })
}
